POV-Ray : Newsgroups : povray.newusers : how to create a wall made of stones : how to create a wall made of stones Server Time
30 Jul 2024 04:21:49 EDT (-0400)
  how to create a wall made of stones  
From: blenderhead
Date: 11 Oct 2004 15:50:00
Message: <web.416ae2d75c6a7794851714370@news.povray.org>
#declare Mortar = texture {
 pigment {
  marble
  turbulence 0.5
  lambda 1.5
  omega 1
  octaves 9
  frequency 3
  color_map {
   [0.0 color Gray50]
   [0.9 color Black]
   [1.0 color Gray50]
  }
 }
 normal {
  dents 1
  scale 0.001
 }
 finish {
  ambient 0.2
  diffuse 0.6
 }
}

#declare WallBrick = texture {
 T_Stone6
}

#declare WallTexture = texture {
 brick texture { Mortar }, texture { WallBrick }
 brick_size <0.25, 0.25, 1> mortar 0.03
}

And I build a wall with my WallTexture:
#declare Wall_Z = box {    //wall in z direction (left and right),
definition as left wall, but also used as the right wall
 <-10   ,  0, -20>
 <- 9.75, 10,  20>
 texture {
  WallTexture
 }
}

But the wall looks like something was painted on it, not like it was
constructed of stones that are independent from each other.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.